SlkStore.GetLearnerAssignmentProperties Method

Retrieves the properties of a SharePoint Learning Kit learner assignment (i.e. information about an assignment related to a single learner) given the learner assignment's identifier.

Parent Type: SlkStore

Namespace: Microsoft.SharePointLearningKit

Assembly: Microsoft.SharePointLearningKit.dll

Syntax
C#

public LearnerAssignmentProperties GetLearnerAssignmentProperties (
LearnerAssignmentItemIdentifier learnerAssignmentId,
SlkRole slkRole

)

Parameters

learnerAssignmentId

The ID of the learner assignment to return information about.

slkRole

The SlkRole for which information is to be retrieved.

Exceptions
Exception type Condition
SafeToDisplayException

An error occurred that can be displayed to a browser user. Possible cause: the user isn't an instructor on the assignment (if slkRole is SlkRole.Instructor), or the user isn't the learner of this learner assignment (if slkRole is SlkRole.Learner).

Remarks

Security:  Fails if the current user doesn't have access to the learner assignment.